package cn.edu.scau.cmi.huangxiyan.composite;

import java.util.Set;

public abstract class ConsistentComponent {

	public abstract String doSomething();

	public abstract ConsistentComponent getParent();

	public abstract Set<ConsistentComponent> getChildren();

	public abstract void addChild(ConsistentComponent child);

	public abstract void removeChild(ConsistentComponent child);

}
